<?php foreach($images as $image): ?>
	<img src="<?php echo Yii::app()->request->baseUrl; ?>/uploads/<?php echo $image->id; ?>.<?php echo $image->thumbType; ?>" width="400" />
<?php endforeach; ?>
